//
//  Person.h
//  OC_03_属性_点语法
//
//  Created by wyx on 16/2/26.
//  Copyright © 2016年 Apon. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface Person : NSObject
/** 属性 */
@property (nonatomic, retain) NSString *name; /** 注意属性名前面没有 _  */
@property (nonatomic, retain) NSString *sex;
@property (nonatomic, assign) NSInteger age;
/** 方法 */
- (instancetype)initWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;
+ (instancetype)person;
+ (instancetype)personWithName:(NSString *)name sex:(NSString *)sex age:(NSInteger)age;
@end
